One-Click Earn Switch
Type: POST
Description: /v4/finance/one-click
Enable or disable one-click earn feature for flexible savings products.
Parameters
| Name | Type | Mandatory | Description |
|---|---|---|---|
| enabled | boolean | true | Enable or disable one-click earn |
| currency | string | false | Currency (optional, applies to all if not specified) |
Request Example
Request
curl -X POST "https://sapi.xt.com/v4/finance/one-click" \
-H "validate-appkey: $APPKEY" \
-H "validate-timestamp: $TIMESTAMP" \
-H "validate-signature: $SIGNATURE" \
-H "Content-Type: application/json" \
-d '{
"enabled": true,
"currency": "USDT"
}'
Response Example
Response
{
"rc": 0,
"mc": "SUCCESS",
"ma": [],
"result": true
}
Response Fields
| Field | Type | Description |
|---|---|---|
| result | boolean | Operation result |